<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>XXXXXX管理平台 - 菜单管理</title>
<%@ include file="../taglibs.jsp"%>
<script type="text/javascript">
	// 根菜单ID
	var baseMenuId = ${baseMenuId};
</script>
<script src="${js }/location/system/menu.js" type="text/javascript"></script>

</head>
<body>
	<!-- 菜单tree -->
	<div style="padding: 10px; float: left;">
		<div id="menuPanel"><table id="menuTreegrid"></table></div>
	</div>
	
	<!-- 菜单信息 -->
	<div style="padding: 10px; float: left;">
		<!-- 明细信息 -->
		<div id="menuDetailPanel">
			<table id="menuPropertygrid"></table>
		</div>
		<!-- 关联角色信息 -->
		<div id="menuRolePanel">
			<table id="roleDatagrid"></table>
		</div>
	</div>

	<!-- 菜单修改/新增 -->
	<div id="menuDiv">
		<form id="menuForm" method="post">
			<div class="divRow">
				<p>菜单名称:</p>
				<input type="hidden" name="menuId" />
				<span class="divCeil"><input name="menuName" class="easyui-validatebox" data-options="required: true" /></span>
			</div>
			<div class="divRow">
				<p>菜单类型:</p>
				<span class="divCeil"><input id="menuType" name="menuType" />
				</span>
			</div>
			<div id="urlDiv" class="divRow">
				<p>菜单地址:</p>
				<span class="divCeil"><input id="url" name="url" class="easyui-validatebox" data-options="required: true" />
				</span>
			</div>
			<div class="divRow">
				<p>父菜单:</p>
				<span class="divCeil"><input id="parentMenuId" name="parentMenuId" />
				</span>
			</div>
			<div class="divRow">
				<p>图标:</p>
				<span class="divCeil"><input type="text" name="icon" /></span>
			</div>
			<div class="divRow">
				<p>排序标记:</p>
				<span class="divCeil">
					<input id="sortInput" name="sort" class="easyui-numberspinner" data-options="min:1, max:100, required:true, width:50, value:1" />
				</span>
			</div>
			<div class="divRow">
				<p>备注:</p>
				<span class="divCeil"><input type="text" name="remark" /></span>
			</div>
		</form>
	</div>
</body>
</html>
